<include file="App/Admin/View/Public/left.html"/>
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/kindeditor/kindeditor.js"></script>
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/kindeditor/lang/zh_CN.js"></script>
  <script type="text/javascript" charset="utf-8" src="__PUBLIC__/kindeditor/plugins/prettify.js"></script>
<div class="admin">
<div class="panel admin-panel margin-top" id="add">
  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span>留言详情</strong></div>
  <div class="body-content">
  <foreach name="list" item="vo" >
    <form class="form-x"  >  	   
      <div class="form-group">
        <div class="label">
          <label>留言人姓名：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="name" disabled value={$vo.name}>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>留言人邮箱：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="email" disabled value={$vo.email}>
          <div class="tips"></div>
        </div>
      </div>
          <div class="form-group">
        <div class="label">
          <label>留言人电话：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="phone" disabled value={$vo.tel}>
          <div class="tips"></div>
        </div>
      </div>
          <div class="form-group">
        <div class="label">
          <label>留言内容：</label>
        </div>
        <div class="field">
          <textarea rows="10" cols='50'  disabled>{$vo.message}</textarea>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <a  class="button bg-main icon-check-square-o" href="{:U('Contact/index')}"> 返回</a>
        </div>
      </div>
    </form>
    </foreach>
  </div>
</div>
</div>
</div>
<script type="text/javascript">    
 function preview(file)  
 {  
 var prevDiv = document.getElementById('preview');  
 if (file.files && file.files[0])  
 {  
 var reader = new FileReader();  
 reader.onload = function(evt){  
 prevDiv.innerHTML = '<img src="' + evt.target.result + '" />';  
}    
 reader.readAsDataURL(file.files[0]);  
}  
 
 }
 function preview1(file)  
 {  
 var prevDiv = document.getElementById('preview1');  
 if (file.files && file.files[0])  
 {  
 var reader = new FileReader();  
 reader.onload = function(evt){  
 prevDiv.innerHTML = '<img src="' + evt.target.result + '" />';  
 prevDiv.remove.prevImg;
}    
 reader.readAsDataURL(file.files[0]);  
}  
 
 }
 </script>